import request from '@/utils/request'

// 查询复诊提醒列表
export function listSubVisit(query) {
  return request({
    url: '/gonitis/subVisit/list',
    method: 'get',
    params: query
  })
}

// 查询复诊提醒详细
export function getSubVisit(id) {
  return request({
    url: '/gonitis/subVisit/' + id,
    method: 'get'
  })
}

// 修改复诊提醒
export function updateSubVisit(data) {
  return request({
    url: '/gonitis/subVisit',
    method: 'put',
    data: data
  })
}

// 删除复诊提醒
export function delSubVisit(id) {
  return request({
    url: '/gonitis/subVisit/' + id,
    method: 'delete'
  })
}
